+Mon Jun 5 11:50:02 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkgc-x11.c (gdk_x11_gc_values_to_xvalues): We need
+ to treat initial creation different from setting with
+ regards to the graphics-exposures parameter, so add a parameter
+ indicating whether this is initial or not.
+
Mon Jun 5 13:29:31 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c: Hack gdk_event_get_graphics_expose()
+Mon Jun 5 11:50:02 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkgc-x11.c (gdk_x11_gc_values_to_xvalues): We need
+ to treat initial creation different from setting with
+ regards to the graphics-exposures parameter, so add a parameter
+ indicating whether this is initial or not.
+
Mon Jun 5 13:29:31 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c: Hack gdk_event_get_graphics_expose()
+Mon Jun 5 11:50:02 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkgc-x11.c (gdk_x11_gc_values_to_xvalues): We need
+ to treat initial creation different from setting with
+ regards to the graphics-exposures parameter, so add a parameter
+ indicating whether this is initial or not.
+
Mon Jun 5 13:29:31 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c: Hack gdk_event_get_graphics_expose()
+Mon Jun 5 11:50:02 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkgc-x11.c (gdk_x11_gc_values_to_xvalues): We need
+ to treat initial creation different from setting with
+ regards to the graphics-exposures parameter, so add a parameter
+ indicating whether this is initial or not.
+
Mon Jun 5 13:29:31 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c: Hack gdk_event_get_graphics_expose()
+Mon Jun 5 11:50:02 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkgc-x11.c (gdk_x11_gc_values_to_xvalues): We need
+ to treat initial creation different from setting with
+ regards to the graphics-exposures parameter, so add a parameter
+ indicating whether this is initial or not.
+
Mon Jun 5 13:29:31 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c: Hack gdk_event_get_graphics_expose()
+Mon Jun 5 11:50:02 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkgc-x11.c (gdk_x11_gc_values_to_xvalues): We need
+ to treat initial creation different from setting with
+ regards to the graphics-exposures parameter, so add a parameter
+ indicating whether this is initial or not.
+
Mon Jun 5 13:29:31 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c: Hack gdk_event_get_graphics_expose()
+Mon Jun 5 11:50:02 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkgc-x11.c (gdk_x11_gc_values_to_xvalues): We need
+ to treat initial creation different from setting with
+ regards to the graphics-exposures parameter, so add a parameter
+ indicating whether this is initial or not.
+
Mon Jun 5 13:29:31 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c: Hack gdk_event_get_graphics_expose()
static void gdk_x11_gc_values_to_xvalues (GdkGCValues *values,
GdkGCValuesMask mask,
XGCValues *xvalues,
- unsigned long *xvalues_mask);
+ unsigned long *xvalues_mask,
+ gboolean initial);
static void gdk_x11_gc_destroy (GdkGC *gc);
static void gdk_x11_gc_get_values (GdkGC *gc,
xvalues.graphics_exposures = True;
xvalues_mask = GCFunction | GCFillStyle | GCArcMode | GCSubwindowMode | GCGraphicsExposures;
- gdk_x11_gc_values_to_xvalues (values, values_mask, &xvalues, &xvalues_mask);
+ gdk_x11_gc_values_to_xvalues (values, values_mask, &xvalues, &xvalues_mask, TRUE);
data->xgc = XCreateGC (GDK_GC_XDISPLAY (gc),
GDK_DRAWABLE_XID (drawable),
}
}
- gdk_x11_gc_values_to_xvalues (values, values_mask, &xvalues, &xvalues_mask);
+ gdk_x11_gc_values_to_xvalues (values, values_mask, &xvalues, &xvalues_mask, FALSE);
XChangeGC (GDK_GC_XDISPLAY (gc),
GDK_GC_XGC (gc),
gdk_x11_gc_values_to_xvalues (GdkGCValues *values,
GdkGCValuesMask mask,
XGCValues *xvalues,
- unsigned long *xvalues_mask)
+ unsigned long *xvalues_mask,
+ gboolean initial)
{
if (mask & GDK_GC_FOREGROUND)
{
}
if (mask & GDK_GC_EXPOSURES)
- xvalues->graphics_exposures = values->graphics_exposures;
- else
- xvalues->graphics_exposures = False;
- *xvalues_mask |= GCGraphicsExposures;
+ {
+ xvalues->graphics_exposures = values->graphics_exposures;
+ *xvalues_mask |= GCGraphicsExposures;
+ }
+ else if (initial)
+ {
+ xvalues->graphics_exposures = False;
+ *xvalues_mask |= GCGraphicsExposures;
+ }
if (mask & GDK_GC_LINE_WIDTH)
{